package com.baomidou.springwind.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;


/**
 * <p>
 * 
 * </p>
 *
 * @author Koumiba
 * @since 2017-03-24
 */
@TableName("tb_calendar")
public class Calendar extends Model<Calendar> {

    private static final long serialVersionUID = 1L;
    /** 主键ID */
	@TableId
	private Long tbid;
    /**
     * 标题
     */
	private String title;
    /**
     * 详细内容
     */
	private String content;
    /**
     * 超链接
     */
	private String url;
    /**
     * 开始时间
     */
	private Date startdt;
    /**
     * 结束时间
     */
	private Date enddt;
    /**
     * 是否属于全天任务
     */
	private Integer isallday;
    /**
     * 用户id
     */
	@TableField("member_id")
	private Long memberId;


	public Long getTbid() {
		return tbid;
	}

	public void setTbid(Long tbid) {
		this.tbid = tbid;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Date getStartdt() {
		return startdt;
	}

	public void setStartdt(Date startdt) {
		this.startdt = startdt;
	}

	public Date getEnddt() {
		return enddt;
	}

	public void setEnddt(Date enddt) {
		this.enddt = enddt;
	}

	public Integer getIsallday() {
		return isallday;
	}

	public void setIsallday(Integer isallday) {
		this.isallday = isallday;
	}

	public Long getMemberId() {
		return memberId;
	}

	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}

	@Override
	protected Serializable pkVal() {
		return this.tbid;
	}

}
